package cn.sitedev.improved;


import cn.sitedev.Course;

import java.util.ArrayList;
import java.util.List;

/**
 * @author qchen
 * @description
 * @date 2020/9/16 1:48
 */
public class Employee {
    public void checkNumberOfCourses() {
        List<Course> courseList = new ArrayList<Course>();
        for (int i = 0; i < 20; i++) {
            courseList.add(new Course());
        }
        System.out.println("目前已发布的课程数量为:" + courseList.size());
    }
}
